import React from 'react';
import IRoute from './IRoute';
import Add from '../views/Add';

const routes: IRoute[] = [
  {
    path: '/',
    name: 'Add',
    element: React.createElement(Add)
  },
  {
    path: '/add',
    name: 'Add',
    element: React.createElement(Add)
  },
];

export default routes;